package com.sskj.market.bean;

import java.util.List;

/**
 * @author :budou
 * Package :com.sskj.market.bean
 * Date :2019/7/31 9:42
 * Describe :订单详情bean
 * Remark :
 */
public class OrderDetailsBean {


    /**
     * code : 200
     * data : {"id":134,"uid":348,"sn":"ON201907311747121347000","product_id":15,"total_price":"1000.000000","shipping_money":"120.000000","total_num":1,"address_id":43,"address_name":App.INSTANCE.getString(R.string.market_orderDetailsBean1),"address_phone":"15872598554","address_detail":App.INSTANCE.getString(R.string.market_orderDetailsBean2),"remark":"","status":3,"created_at":"2019-07-31 17:47:12","updated_at":"2019-07-31 19:06:10","pay_at":"2019-07-31 17:47:23","express_at":"2019-07-31 19:06:10","express_info":App.INSTANCE.getString(R.string.market_orderDetailsBean3),"received_at":null,"product":{"id":15,"name":App.INSTANCE.getString(R.string.market_orderDetailsBean4),"goods_desc":App.INSTANCE.getString(R.string.market_orderDetailsBean5),"price":"1000.00","num":89,"shipping_money":"120.00","purchase_number":6,"pics":["images/2019_07_31/4c8d538eb8f5f343c9371289de675e73.png","images/2019_07_31/139a1f17c9ff4b45b68b89b10fb4b0de.jpg","images/2019_07_31/327df719f7502b8d685f39013a345a9c.jpg"]}}
     * msg : 获取成功
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * id : 134
         * uid : 348
         * sn : ON201907311747121347000
         * product_id : 15
         * total_price : 1000.000000
         * shipping_money : 120.000000
         * total_num : 1
         * address_id : 43
         * address_name : 辅导费
         * address_phone : 15872598554
         * address_detail : 福建省 福州市 鼓楼区 合法化发表报告都给你好的
         * remark :
         * status : 3
         * created_at : 2019-07-31 17:47:12
         * updated_at : 2019-07-31 19:06:10
         * pay_at : 2019-07-31 17:47:23
         * express_at : 2019-07-31 19:06:10
         * express_info : 请问人情味
         * received_at : null
         * product : {"id":15,"name":App.INSTANCE.getString(R.string.market_orderDetailsBean4),"goods_desc":App.INSTANCE.getString(R.string.market_orderDetailsBean5),"price":"1000.00","num":89,"shipping_money":"120.00","purchase_number":6,"pics":["images/2019_07_31/4c8d538eb8f5f343c9371289de675e73.png","images/2019_07_31/139a1f17c9ff4b45b68b89b10fb4b0de.jpg","images/2019_07_31/327df719f7502b8d685f39013a345a9c.jpg"]}
         */

        private int id;
        private int uid;
        private String sn;
        private int product_id;
        private String total_price;
        private String shipping_money;
        private int total_num;
        private int address_id;
        private String address_name;
        private String address_phone;
        private String address_detail;
        private String remark;
        private int status;
        private String created_at;
        private String updated_at;
        private String pay_at;
        private String express_at;
        private String express_info;
        private Object received_at;
        private ProductBean product;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public int getProduct_id() {
            return product_id;
        }

        public void setProduct_id(int product_id) {
            this.product_id = product_id;
        }

        public String getTotal_price() {
            return total_price;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }

        public String getShipping_money() {
            return shipping_money;
        }

        public void setShipping_money(String shipping_money) {
            this.shipping_money = shipping_money;
        }

        public int getTotal_num() {
            return total_num;
        }

        public void setTotal_num(int total_num) {
            this.total_num = total_num;
        }

        public int getAddress_id() {
            return address_id;
        }

        public void setAddress_id(int address_id) {
            this.address_id = address_id;
        }

        public String getAddress_name() {
            return address_name;
        }

        public void setAddress_name(String address_name) {
            this.address_name = address_name;
        }

        public String getAddress_phone() {
            return address_phone;
        }

        public void setAddress_phone(String address_phone) {
            this.address_phone = address_phone;
        }

        public String getAddress_detail() {
            return address_detail;
        }

        public void setAddress_detail(String address_detail) {
            this.address_detail = address_detail;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public String getPay_at() {
            return pay_at;
        }

        public void setPay_at(String pay_at) {
            this.pay_at = pay_at;
        }

        public String getExpress_at() {
            return express_at;
        }

        public void setExpress_at(String express_at) {
            this.express_at = express_at;
        }

        public String getExpress_info() {
            return express_info;
        }

        public void setExpress_info(String express_info) {
            this.express_info = express_info;
        }

        public Object getReceived_at() {
            return received_at;
        }

        public void setReceived_at(Object received_at) {
            this.received_at = received_at;
        }

        public ProductBean getProduct() {
            return product;
        }

        public void setProduct(ProductBean product) {
            this.product = product;
        }

        public static class ProductBean {
            /**
             * id : 15
             * name : king排队量贩式KTV
             * goods_desc : 我是一个超级正经的KTV
             * price : 1000.00
             * num : 89
             * shipping_money : 120.00
             * purchase_number : 6
             * pics : ["images/2019_07_31/4c8d538eb8f5f343c9371289de675e73.png","images/2019_07_31/139a1f17c9ff4b45b68b89b10fb4b0de.jpg","images/2019_07_31/327df719f7502b8d685f39013a345a9c.jpg"]
             */

            private int id;
            private String name;
            private String goods_desc;
            private String price;
            private int num;
            private String shipping_money;
            private int purchase_number;
            private List<String> pics;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getGoods_desc() {
                return goods_desc;
            }

            public void setGoods_desc(String goods_desc) {
                this.goods_desc = goods_desc;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getShipping_money() {
                return shipping_money;
            }

            public void setShipping_money(String shipping_money) {
                this.shipping_money = shipping_money;
            }

            public int getPurchase_number() {
                return purchase_number;
            }

            public void setPurchase_number(int purchase_number) {
                this.purchase_number = purchase_number;
            }

            public List<String> getPics() {
                return pics;
            }

            public void setPics(List<String> pics) {
                this.pics = pics;
            }
        }
    }
}
